home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11851 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: cc.usu.edu!slkck
  2. From: slkck@cc.usu.edu (ALAN JOHN SORENSEN)
  3. Newsgroups: comp.lang.c
  4. Subject: Calling Fortran From C
  5. Message-ID: <1996Mar26.140237.77005@cc.usu.edu>
  6. Date: 26 Mar 96 14:02:37 MDT
  7. Organization: Utah State University
  8.  
  9. I need to write a program on an Ultrix machine
  10. that calls some library function written in Fortran77 or something
  11.  
  12. the function call in fortran is something like this
  13.     xaxis(lname,n,xpos,ypos,xlen,xorig,xstep,xlast)
  14.  
  15.         everything but lname and n are real numbers...
  16.  
  17.     lname is a title i want to give the axis
  18.     n is the number of characters in it
  19.     xpos & ypos are the position i want the start of the line
  20.     xlen the length in i want the line
  21.     xorig is the grid number i'd like this line to start with
  22.     xstep is the number of vertical lines i'd like between 
  23.         xorig and xlast
  24.     xlast is the ending point of this horizontal line
  25.  
  26. i HAVE to write this in C but i don't know how to call this function
  27. from C.
  28.  
  29.     if you have any help... mail me
  30.     at either
  31.         SLKCK@cc.usu.edu
  32.     or
  33.         ALAN@logan.cass.usu.edu
  34.  
  35.  
  36.